package broker_manager;

import java.net.MalformedURLException;
import java.net.URI;
import java.rmi.NotBoundException;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

public interface BrokerManager extends Remote {
	public ArrayList<URI> getBrokers() throws RemoteException;

	public void networkUpdateComplete() throws RemoteException;

	public ArrayList<URI> registerBroker(URI brokerURI) throws Exception,
			RemoteException, MalformedURLException, NotBoundException;

	public boolean unregisterBroker(URI brokerURI) throws Exception,
			RemoteException, MalformedURLException, NotBoundException;
}
